package com.caocaog.market.finance.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.caocaog.market.finance.entity.MkBillBase;
import com.caocaog.market.finance.entity.MkBillHistory;
import com.caocaog.market.finance.service.MkBillBaseService;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author liguang
 * @version 1.0.0
 * @Project jeecg-boot
 * @Package com.caocaog.market.finance.mapper
 * @ClassName MkBillBaseMapper.java
 * @createTime 2021年12月03日 19:22:00
 * @Description TODO
 */
@Mapper
public interface MkBillBaseMapper  extends BaseMapper<MkBillBase> {
    /**
     * 分页查询
     */
    IPage<MkBillBase> findForPage(Page<MkBillBase> page, MkBillBase billBase);

    /**
     * 不分页
     */
    List<MkBillBase> findForPage(@Param("billBase") MkBillBase billBase);

}
